package com.master.redis;

import com.master.domain.MiaoshaUser;

public class MiaoshaKey extends BasePrefix{
    public MiaoshaKey(String prefix) {
        super(prefix);
    }

    public MiaoshaKey(int expireSeconds,String prefix) {
        super(expireSeconds,prefix);
    }

    public static MiaoshaKey isGoodsOver = new MiaoshaKey("go");
    //这个地址key需要有有效期
    //规定为60秒
    public static MiaoshaKey getMiaoshaPath = new MiaoshaKey(60,"mp");

    public static MiaoshaKey getMiaoshaVerifyCode = new MiaoshaKey(300,"vc");
}
